<script >
import { defineComponent } from 'vue'
import { NButton } from 'naive-ui'
import axios from 'axios'
export default defineComponent({
  components: {
    NButton,
  },

  setup() {
    function sendGet() {
      axios.get('/api/compress/huge-map-stream').then((res) => {
        console.log(res)
      })
    }
    return {
      sendGet,
    }
  },
})
</script>

<template>
  <div>
    <n-button type="primary" @click="sendGet"> Primary </n-button>
  </div>
</template>
